home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
088
/
qne21.arc
/
QNE21.DOC
next >
Wrap
Text File
|
1987-11-16
|
14KB
|
289 lines
QUICK NEWS EDITOR v2.1
by Scott Pazur, SYSOP of The Flea Market BBS
Public Node: 201-446-1665
Quick News Editor (QNExx.EXE) is just that, a simple and fast way to update
your PC-Board NEWS and NEWSG files to bring the latest news to your users.
The editor itself functions much the same way as PC-Board handles message
entry, with the same editing commands. Easy to use, simple to learn, and
absolutely free.
============================================================================
Version 2.1 - November 16, 1987
Nothing major (YET!). I had intended on this being a major update, but free
time suddenly became a thing of the past again. Look for v3.0 to drasticly
change QNE. As for this version:
Fixed: 1. The problem with backspacing going past the line number.
2. The problem with line wrap not working when [I]nserting
lines.
Changed: 1. Output! New title line looks like:
╔═════════════════════════════════════════╗
════╣ November 11: Test #1 of Beta version 3 ╠════════...
╚═════════════════════════════════════════╝
I didn't want any lawsuits from the PCBNEWS author who says
that "the look and feel of PCBNEWS is copyright...", but
whose output is exactly the same as QNE v2.0 and below (grin)
Added: 1. New options (like it really needs more!) to allow
customization of the output colors. See the section titled
"Starting QNE" for more info.
============================================================================
Version 2.0 - August 26, 1987
Yes, line wrap is finally here! This is the biggest addition to this
version. The other biggie is the optional title on the news item being
edited. You will always be prompted for a title, and if you do not want
one, simply hit enter to skip the title. Some little additions are removal
of the /I option (if you haven't upgraded to 1.7 or 1.8 yet, you'll have to
start all over to get the /H option to work properly). I've added a /?
option for help with the command line options (for those of us that hate
docs). Finally, the news text is indented for a more symmetric-type
display, and the local misalignment in versions 1.7 and 1.8 is fixed.
============================================================================
Version 1.9 - No such thing, don't ask me why (grin)
============================================================================
Version 1.8 - July 3, 1987
Added option (/M:filename) for merge file facility. This will take a text
file and merge it into your news text. See notes below.
Also added a check for a graphics version of the header file.
============================================================================
Version 1.7 - June 14, 1987
Added option (/H:filename) for header file to be included in NEWS/NEWSG.
Also, an option (/I) has been added to initialize old output of QNE for the
use of the header files. This initialization MUST be done once on output
produced by QNE versions 1.6 and below in order for the header option to
work correctly. See the info below on /I for more information.
============================================================================
Version 1.6 - June 2, 1987
Minor fix/addition release to allow upper ASCII characters to be used when
editing a NEWS file. Had to recompile with QuickBasic instead of Turbo Basic
to accomplish this. Another strike against Turbo Basic.
============================================================================
Version 1.5 - May 29, 1987
Thanx to Gary Thurlow for pointing out a bug in version 1.4 that didn't
allow the use of path\filename. It worked fine when editing a file in the
current directory, but blew up when a path longer than 8 characters was
used. I'm happy to report that all is now well, enjoy...
============================================================================
Version 1.4 - May 27, 1987
By request, added an option (/G) to eliminate ASCII graphics characters from
the non-graphic output file if so desired.
============================================================================
Version 1.3 - April 30, 1987
Initial release, fully functional, open for suggestions for future releases!
============================================================================
Starting QNE:
QNE now has eleven possible command line switches.
/F:filename - This is the non-color/graphics version of the
file you wish to edit. QNE will also edit
the filename above with a "G" appended to the
name for the color graphics version, unless
the /N switch is specified (see below). If the
/F switch is omitted, QNE assumes you want to
edit NEWS and NEWSG in the CURRENT directory.
/C - Forces editing screen (your screen, not the
output files) into monochrome mode.
/N - Causes QNE to only edit/create/update the straight
ASCII NEWS file, and will leave the G version alone.
/G - This option eliminates ANSI drawing chars from the
non-color/graphics version of the NEWS file.
For example:
Without /G
╔════════════╗
════╣ Title line ╠═══...
╚════════════╝
With /G
====[ Title line ]===...
/H:filename - Includes an optional header file at the beginning
of the specified output file. There can now be two
versions of the header file, a straight ASCII and
and an ANSI/graphic version. They are distinguished
by the "G" added to the filename of the graphic
file. Both HEADER/HEADERG and
HEADER.TXT/HEADERG.TXT will work correctly. Only
specify the non-graphic filename on the QNE command
line. It will hunt for the "G" file, and use it if
it exists. If it does not exist, it will use the
non-"G" version for both NEWS and NEWSG.
/M:filename - Will import a text file into the news text. It will
start at line 1, and MUST be less than 50 lines
long. You can always [I]nsert lines before line 1 if
* SEE MERGE desired. Also, eventhough ANSI codes for color etc
* FILE NOTES will be read in correctly, due to the way QNE output
* ON NEXT PAGE is formatted, it will probably not end up as you
want it to. Therefore, it is recommended that any
merge file be straight ASCII text. QNE will not
check for a "G" merge file, this is not supported.
/T:x - title color (default=white)
/D:x - date color (default=yellow)
/L:x - line separator color (default=blue)
/B:x - body(text) color (if not specified, you will still
│ be prompted unless you told QNE not
│ to create a graphics version
│ with the /N option)
x options: G=green C=cyan R=red M=magenta
Y=yellow W=white
/? - Provide instant command line option help.
NOTE ON HEADER FILES WITH THE /H OPTION:
If you are just now upgrading from QNE v1.6 or less, you might run
into a problem with the header file the first time you use v2.1.
You have two choices:
1. Run QNE one time WITHOUT using the /H option.
You'll then be all initialized for future
header inclusion.
2. Start from scratch with a new NEWS/NEWSG file.
If you have been using version 1.7/1.8/2.0, you'll have no problems.
NOTES ON MERGE FILE OPTION AND FILE RESTRICTIONS
- Just as you are limited to 74 characters per line in the editor, the
merge file is also limited to 74 characters per line. Any lines
longer than 74 characters will be truncated.
- When a file is merged, you will get a confirmation message in the
editor info header (i.e. "-> FILE MERGE COMPLETE <-").
- Editing after a merge will commence at the line following the merged
text. For instance, if a 10 line text file is merged into the news,
the first line number to appear will be 11. The merged text is NOT
displayed automatically. You can use the [L]ist command to verify
that the file was merged.
Examples:
QNExx
- Will edit NEWS and NEWSG in the current directory (no /F).
If they do not exist, they will be created.
- Your screen will be in color during editing (no /C).
- Will create/edit both NEWS and NEWSG (no /N).
QNExx /F:c:\pcb\gen\news
- Will edit NEWS and NEWSG in the c:\pcb\gen directory (/F).
If they do not exist, they will be created.
- Your screen will be in color during editing (no /C).
- Will create/edit both NEWS and NEWSG (no /N).
QNExx /F:c:\pcb\gen\news /C
- Will edit NEWS and NEWSG in the c:\pcb\gen directory (/F).
If they do not exist, they will be created.
- Your screen will be forced to monochrome during editing (/C).
- Will create/edit both NEWS and NEWSG (no /N).
QNExx /F:c:\pcb\gen\news /C /N
- Will edit NEWS in the c:\pcb\gen directory (/F).
If they do not exist, they will be created.
- Your screen will be forced to monochrome during editing (/C).
- Will only edit/change NEWS, and not NEWSG. (/N).
do not exist, they will be created.
QNExx /F:c:\pcb\gen\news /C /N /G
- Will edit NEWS in the c:\pcb\gen directory (/F).
If they do not exist, they will be created.
- Your screen will be forced to monochrome during editing (/C).
- Will only edit/change NEWS, and not NEWSG. (/N).
do not exist, they will be created.
- Will not use ANSI drawing chars in NEWS. (/G)
QNExx /?
- Will list all the QNE command line options and a short
description of each one. If you're like me, you NEVER
have documentation available when you need it.
QNExx /F:c:\pcb\gen\news /c /h:c:\pcb\stuff\header.txt
- Will edit NEWS and NEWSG in the c:\pcb\gen directory (/F).
- Your screen will be forced to monochrome during editing (/C).
- Will include the header file c:\pcb\stuff\HEADER.TXT in
the output of NEWS, and will check for the file
c:\pcb\stuff\HEADERG.TXT. If it exists, this will be the
header file in NEWSG. If not, c:\pcb\stuff\HEADER.TXT will
be used in both NEWS and NEWSG.
QNExx /F:c:\pcb\gen\news /c /h:c:\pcb\stuff\header.txt /m:mrg.fil
- Will edit NEWS and NEWSG in the c:\pcb\gen directory (/F).
- Your screen will be forced to monochrome during editing (/C).
- Will include the header file c:\pcb\stuff\HEADER.TXT in
the output of NEWS, and will check for the file
c:\pcb\stuff\HEADERG.TXT. If it exists, this will be the
header file in NEWSG. If not, c:\pcb\stuff\HEADER.TXT will
be used in both NEWS and NEWSG.
- The disk file MRG.FIL will be imported into your news text
beginning at line 1. You can add to this, insert additional
text before this file, or just save the imported file.
Editing notes:
The editor now has word wrap! You no longer have to hit enter for each
line. Hitting ENTER on a blank line ends the line editing. You will
then have the following choices:
A - Abort edit, restore files to original state
S - Save edits
C - Continue editing from the next line
D - Delete a line
I - Insert a line
L - List text entered thus far
or E - Edit text in a particular line
These choices function much the same way as PC-Board's message editor.
Also:
If you didn't use the /B:x option on the command line at startup, when
the S option is chosen, and only if you are editing a color/graphic
NEWSG file, you will be asked for a color choice. QNE will save the text
portion of the current NEWS file in the color of your choice.
I lied!
Sorry, this is not absolutely free as mentioned before. If you use it,
and like it, or even if you don't like it, call my board and tell me!
Let me know if a DOOR version would come in handy, or if there's
something you'd like added, or that it's just the thing you were looking
for, or whatever. Just don't comment on the docs! I never claimed to be
a writer (grin). Anyway, I hope you find this useful...
By:
Scott Pazur, SYSOP of The Flea Market BBS
Public Node: 201-446-1665 24hours 1200/2400